//
//  UIScreen+Extension.swift
//  MyBlog
//
//  Created by victor on 16/12/23.
//  Copyright © 2016年 victor. All rights reserved.
//

import Foundation

extension UIScreen {
    class func xt_screenWidth() -> CGFloat {
        return UIScreen.main.bounds.size.width
    }
    
    class func xt_screenHeight() -> CGFloat {
        return UIScreen.main.bounds.size.height
    }
    
    class func xt_scale() -> CGFloat {
        return UIScreen.main.scale
    }
}
